Skip to main content
POST
/
metric
/
campaigns_attribute
Get a campaign attribute metric
curl --request POST \
  --url https://your_a2_service/metric/campaigns_attribute \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "from_datetime": "2023-11-07T05:31:56Z",
  "to_datetime": "2023-11-07T05:31:56Z"
}
'
{
  "cid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "frequency": {},
  "id": 123,
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://docs.aiderx.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Query for campaign metric.

campaign_id
string<uuid>
required
from_datetime
string<date-time> | null
to_datetime
string<date-time> | null

Response

Successful Response

Schema for campaign audience metrics entity.

cid
string<uuid>
required

Campaign ID

frequency
Frequency · object
required

Number of attribute frequencies.

Example:
{ "age": { "10-20": 1, "20-30": 2 } }
id
integer
required
tagid
string<uuid>
required

Placement ID